package communication.common.business.hole;


import communication.common.business.base.FcrSocketAddress;

/**处理网络相关的service
 * @author mac
 */
public interface ServerNetService {

    /**
     * 转发p2p2打洞请求
     * @param request 要转发的请求
     * @param remoteSocketAddress  request的发起方的socket地址
     * @return Boolean 转发结果，成功-true,失败-false
     *
     */
   void hole(P2pHoleRequest request, FcrSocketAddress remoteSocketAddress) throws Exception;




}
